package pl.polsl.mmm.projectcomm;

import java.io.Serializable;

public class Constants {
    public static final int BYTES_PER_FLOAT = 4;
    public static final int BYTES_PER_SHORT = 2;
    public static final int POSITION_COMPONENT_COUNT = 3;
    public static final int TEXTURE_COORDINATES_COMPONENT_COUNT = 2;
    public static final int NORMALS_COMPONENT_COUNT = 3;
    //public static final int TANGENT_COMPONENT_COUNT = 3;
    public static final int ALL_COMPONENT_COUNT = POSITION_COMPONENT_COUNT
            + TEXTURE_COORDINATES_COMPONENT_COUNT
            + NORMALS_COMPONENT_COUNT;
    //+ TANGENT_COMPONENT_COUNT;
    public static final int STRIDE = ALL_COMPONENT_COUNT * BYTES_PER_FLOAT;
    /**Stan animacji: 3 możliwości- stop, play , pause*/
    public static enum ACTION_STATE{ STOP, PLAY , PAUSE };

    /**Sposoby wyświetlania animacji*/
    public final static short MD5_METHOD_FRAME = 0;
    public final static short MD5_METHOD_LERP = 1;
    public final static short MD5_METHOD_SLERP = 2;

    public static enum Gestures {
        NO_GESTURES, ONE_HAND, TWO_HANDS
    }

    public static enum Model_state {
        WALK, JUMP, IDLE, PUPPET_STATE, NO_ANIM
    }
}
